﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="indexsupply.aspx.cs" Inherits="lcs.Web.Admin.TimeLine.indexsupply" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
<title>TimeLine</title>

<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
    $(function () {
        $(".timeline").eq(0).animate({
            //height: '600px'
        }, 3000);
    });
    function getadd(id)
    {
        var geoc = new BMap.Geocoder();
        map.addEventListener("click", function (e) {
            if (pt != "")
                map.clearOverlays(pt);
            pt = e.point;
            $("#mjd").val(e.point.lng);
            $("#mwd").val(e.point.lat);
            geoc.getLocation(pt, function (rs) {
                var addComp = rs.addressComponents;
                $("#madd").val(addComp.province + addComp.city + addComp.district + addComp.street + addComp.streetNumber);
            });
            map.addOverlay(new BMap.Marker(pt));
        });
    }
</script>

<link rel="stylesheet" type="text/css" href="css/style.css">

</head>
<body>
    <form id="form1" runat="server">
    <div class="timeline">
	<div class="timeline-date">
		<ul>
			<h2 class="second" style="position: relative;">				
			</h2>
            <asp:Repeater ID="rptmobile" runat="server">
                <ItemTemplate>
                    <li>
				<h3><%# Eval("sendTime") %></h3>
				<dl class="right">
					<span><%# Eval("sectionname") %></span>
                    <a href='indexmap.aspx?keyid=<%# Eval("KeyId") %>' target="_blank">
                    <img style='margin:4px' src='/handlerpic.ashx?action=pic&keyid=<%# Eval("KeyId") %>' />
                        </a>
				</dl>
                        <div style="clear:both;"></div>
			</li>
                </ItemTemplate>
            </asp:Repeater>
            <div style="clear:both;"></div>			
		</ul>
        <div style="clear:both;"></div>
	</div>	
        <div style="clear:both;"></div>
</div>

    </form>
</body>
</html>
